package com.joeshing.security.resourcedetails;

import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;

import org.springframework.security.access.ConfigAttribute;


public interface ResourceDetails extends Serializable {
	
	public static final String RESOURCE_TYPE_URL = "URL";

	public static final String RESOURCE_TYPE_METHOD = "METHOD";

	public static final String RESOURCE_TYPE_TAG = "TAG";
	
	public static final Collection<ConfigAttribute> EMPTY_ATTRIBUTES = new HashSet<ConfigAttribute>();

	public String getName();

	public String getType();
	
	public Collection<ConfigAttribute> getAttributes();
	
}
